package com.xiao.springmvc.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xiao.springmvc.entity.CompanyImage;
import com.xiao.springmvc.jpa.CompanyImageDao;

@Service
public class CompanyImageService {

	@Autowired
	private CompanyImageDao companyImageDao;
	
	public CompanyImage findByCompanyId(long companyId){
		return companyImageDao.findByCompanyId(companyId);
	}
	
	
}
